Tables [dbo].[PropertyDefinition]
Properties
PropertyValue
Created10:31:35 AM Tuesday, March 02, 2010
Last Modified1:17:34 PM Thursday, February 23, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_PropertyDefinition: PropertyDefinitionKeyPropertyDefinitionKeyuniqueidentifier16
No
Labelnvarchar(255)510
No
Foreign Keys FK_PropertyDefinition_DataTypeRef: [dbo].[DataTypeRef].DataTypeCodeIndexes IX_PropertyDefinition_DataTypeCode: DataTypeCodeDataTypeCodeint4
No
MaxLengthint4
Yes
Scaleint4
Yes
Foreign Keys FK_PropertyDefinition_HIControlTypeRef: [dbo].[HIControlTypeRef].HIControlTypeCodeIndexes IX_PropertyDefinition_HIControlTypeCode: HIControlTypeCodeHIControlTypeCodeint4
No
HIControlHeightint4
Yes
HIControlWidthint4
Yes
DisplayMasknvarchar(100)200
Yes
ValueListntextmax
Yes
ValueListQueryDocumentVersionKeyuniqueidentifier16
Yes
ValueListQueryFoldernvarchar(2048)4096
Yes
ValueListQueryDisplayColumnnvarchar(128)256
Yes
ValueListQueryPersistColumnnvarchar(128)256
Yes
HIControlRepeatColumnsint4
Yes
HIControlRepeatDirectionint4
Yes
AllowMultiSelectFlagbit1
Yes
IsRequiredbit1
Yes
Foreign Keys FK_PropertyDefinition_UniformRegistry: [dbo].[UniformRegistry].ForeignObjectDocumentVersionKeyIndexes IX_PropertyDefinition_ForeignObjectDocumentVersionKey: ForeignObjectDocumentVersionKeyForeignObjectDocumentVersionKeyuniqueidentifier16
Yes
DefaultValuenvarchar(100)200
Yes
UseFinderbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PropertyDefinition: PropertyDefinitionKeyPK_PropertyDefinitionPropertyDefinitionKey
Yes
IX_PropertyDefinition_DataTypeCodeDataTypeCode
IX_PropertyDefinition_ForeignObjectDocumentVersionKeyForeignObjectDocumentVersionKey
IX_PropertyDefinition_HIControlTypeCodeHIControlTypeCode
Foreign Keys Foreign Keys
NameColumns
FK_PropertyDefinition_DataTypeRefDataTypeCode->[dbo].[DataTypeRef].[DataTypeCode]
FK_PropertyDefinition_HIControlTypeRefHIControlTypeCode->[dbo].[HIControlTypeRef].[HIControlTypeCode]
FK_PropertyDefinition_UniformRegistryForeignObjectDocumentVersionKey->[dbo].[UniformRegistry].[UniformKey]
SQL Script
CREATE TABLE [dbo].[PropertyDefinition]
(
[PropertyDefinitionKey] [uniqueidentifier] NOT NULL,
[Label] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DataTypeCode] [int] NOT NULL,
[MaxLength] [int] NULL,
[Scale] [int] NULL,
[HIControlTypeCode] [int] NOT NULL,
[HIControlHeight] [int] NULL,
[HIControlWidth] [int] NULL,
[DisplayMask] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ValueList] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ValueListQueryDocumentVersionKey] [uniqueidentifier] NULL,
[ValueListQueryFolder] [nvarchar] (2048) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ValueListQueryDisplayColumn] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ValueListQueryPersistColumn] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[HIControlRepeatColumns] [int] NULL,
[HIControlRepeatDirection] [int] NULL,
[AllowMultiSelectFlag] [bit] NULL,
[IsRequired] [bit] NULL,
[ForeignObjectDocumentVersionKey] [uniqueidentifier] NULL,
[DefaultValue] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[UseFinder] [bit] NOT NULL CONSTRAINT [DF_PropertyDefinition_UseFinder] DEFAULT ((0))
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
ALTER TABLE [dbo].[PropertyDefinition] ADD CONSTRAINT [PK_PropertyDefinition] PRIMARY KEY CLUSTERED ([PropertyDefinitionKey]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_PropertyDefinition_DataTypeCode] ON [dbo].[PropertyDefinition] ([DataTypeCode]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_PropertyDefinition_ForeignObjectDocumentVersionKey] ON [dbo].[PropertyDefinition] ([ForeignObjectDocumentVersionKey]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_PropertyDefinition_HIControlTypeCode] ON [dbo].[PropertyDefinition] ([HIControlTypeCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PropertyDefinition] ADD CONSTRAINT [FK_PropertyDefinition_DataTypeRef] FOREIGN KEY ([DataTypeCode]) REFERENCES [dbo].[DataTypeRef] ([DataTypeCode])
GO
ALTER TABLE [dbo].[PropertyDefinition] ADD CONSTRAINT [FK_PropertyDefinition_HIControlTypeRef] FOREIGN KEY ([HIControlTypeCode]) REFERENCES [dbo].[HIControlTypeRef] ([HIControlTypeCode])
GO
ALTER TABLE [dbo].[PropertyDefinition] ADD CONSTRAINT [FK_PropertyDefinition_UniformRegistry] FOREIGN KEY ([ForeignObjectDocumentVersionKey]) REFERENCES [dbo].[UniformRegistry] ([UniformKey])
GO
Uses
Used By